package com.tadpole.music.bean.question;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/9/21
 */
public class SimulationBean {

    /**
     * code : 200
     * data : {"current_page":1,"total":41,"data":[{"id":1,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题1","name":"中央院初级套题（一）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":3,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题2","name":"中央院初级套题（二）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":4,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题2","name":"中央院初级套题（三）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":5,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题4","name":"中央院初级套题（四）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":6,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题5","name":"中央院初级套题（五）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":28,"created_at":"2020-09-08 06:51:33","updated_at":"2020-09-08 06:51:33","college_id":1,"rank_id":1,"desc":"套题7","name":"中央院初级套题（七）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":29,"created_at":"2020-09-08 06:51:33","updated_at":"2020-09-08 06:51:33","college_id":1,"rank_id":1,"desc":"套题8","name":"中央院初级套题（八）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":30,"created_at":"2020-09-08 06:51:36","updated_at":"2020-09-08 06:51:36","college_id":1,"rank_id":1,"desc":"套题9","name":"中央院初级套题（九）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":31,"created_at":"2020-09-08 06:51:36","updated_at":"2020-09-08 06:51:36","college_id":1,"rank_id":1,"desc":"套题10","name":"中央院初级套题（十）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":32,"created_at":"2020-09-08 06:51:36","updated_at":"2020-09-08 06:51:36","college_id":1,"rank_id":1,"desc":"套题11","name":"中央院初级套题（十一）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}}],"page_size":10,"last_page":5}
     * msg : success
     */

    private int code;
    private DataBeanX data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBeanX {
        /**
         * current_page : 1
         * total : 41
         * data : [{"id":1,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题1","name":"中央院初级套题（一）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":3,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题2","name":"中央院初级套题（二）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":4,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题2","name":"中央院初级套题（三）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":5,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题4","name":"中央院初级套题（四）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":6,"created_at":"2020-09-08 06:51:29","updated_at":"2020-09-08 06:51:29","college_id":1,"rank_id":1,"desc":"套题5","name":"中央院初级套题（五）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":28,"created_at":"2020-09-08 06:51:33","updated_at":"2020-09-08 06:51:33","college_id":1,"rank_id":1,"desc":"套题7","name":"中央院初级套题（七）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":29,"created_at":"2020-09-08 06:51:33","updated_at":"2020-09-08 06:51:33","college_id":1,"rank_id":1,"desc":"套题8","name":"中央院初级套题（八）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":30,"created_at":"2020-09-08 06:51:36","updated_at":"2020-09-08 06:51:36","college_id":1,"rank_id":1,"desc":"套题9","name":"中央院初级套题（九）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":31,"created_at":"2020-09-08 06:51:36","updated_at":"2020-09-08 06:51:36","college_id":1,"rank_id":1,"desc":"套题10","name":"中央院初级套题（十）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}},{"id":32,"created_at":"2020-09-08 06:51:36","updated_at":"2020-09-08 06:51:36","college_id":1,"rank_id":1,"desc":"套题11","name":"中央院初级套题（十一）","status":1,"Rank":{"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}}]
         * page_size : 10
         * last_page : 5
         */

        private int current_page;
        private int total;
        private int page_size;
        private int last_page;
        private List<DataBean> data;

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPage_size() {
            return page_size;
        }

        public void setPage_size(int page_size) {
            this.page_size = page_size;
        }

        public int getLast_page() {
            return last_page;
        }

        public void setLast_page(int last_page) {
            this.last_page = last_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 1
             * created_at : 2020-09-08 06:51:29
             * updated_at : 2020-09-08 06:51:29
             * college_id : 1
             * rank_id : 1
             * desc : 套题1
             * name : 中央院初级套题（一）
             * status : 1
             * Rank : {"created_at":"0001-01-01 00:00:00","updated_at":"0001-01-01 00:00:00"}
             */

            private int id;
            private String created_at;
            private String updated_at;
            private int college_id;
            private int rank_id;
            private String desc;
            private String name;
            private int status;
            private boolean paid;
            private RankBean Rank;

            public DataBean(int id, String created_at, String updated_at, int college_id, int rank_id, String desc, String name, int status,boolean paid) {
                this.id = id;
                this.created_at = created_at;
                this.updated_at = updated_at;
                this.college_id = college_id;
                this.rank_id = rank_id;
                this.desc = desc;
                this.name = name;
                this.status = status;
                this.paid = paid;
            }

            public boolean isPaid() {
                return paid;
            }

            public void setPaid(boolean paid) {
                this.paid = paid;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public int getCollege_id() {
                return college_id;
            }

            public void setCollege_id(int college_id) {
                this.college_id = college_id;
            }

            public int getRank_id() {
                return rank_id;
            }

            public void setRank_id(int rank_id) {
                this.rank_id = rank_id;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public RankBean getRank() {
                return Rank;
            }

            public void setRank(RankBean Rank) {
                this.Rank = Rank;
            }

            public static class RankBean {
                /**
                 * created_at : 0001-01-01 00:00:00
                 * updated_at : 0001-01-01 00:00:00
                 */

                private String created_at;
                private String updated_at;

                public String getCreated_at() {
                    return created_at;
                }

                public void setCreated_at(String created_at) {
                    this.created_at = created_at;
                }

                public String getUpdated_at() {
                    return updated_at;
                }

                public void setUpdated_at(String updated_at) {
                    this.updated_at = updated_at;
                }
            }
        }
    }
}
